﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Code.Entity;
using Code.Services.Admins.Dto;
using Code.Services.Menus.Dto;

namespace Code.Services
{
    public class AutoMapperProfile : Profile
    {
        public AutoMapperProfile()
        {
            CreateMap<Menu, MenuDto>().ReverseMap();
            CreateMap<Admin,AdminDto>().ReverseMap();
        }
    }
}
